#pragma once

#include <QtCore/QJsonObject>

namespace Qt
{
	class QtSerializable
	{
	public:

		virtual
			~QtSerializable() = default;

		virtual
			QJsonObject
			save() const = 0;

		virtual void
			restore(QJsonObject const & /*p*/) {}
	};
}
